import request from '@/utils/request';

// 应付单列表
export function List(query) {
	return request({
		url: '/quota/quotaCalcScheme/list',
		method: 'get',
		params: query,
	});
}

// 复用
export function InfoCopy(calcSchemeId) {
	return request({
		url: `/quota/quotaCalcScheme/infoCopy/${calcSchemeId}`,
		method: 'get',
	});
}

export function Remove(calcSchemeId) {
	return request({
		url: `/quota/quotaCalcScheme/remove/${calcSchemeId}`,
		method: 'delete',
	});
}
